package in.muton.edushare.pages.group;

import in.muton.edushare.components.calendar.CalendarPanel;

import org.apache.wicket.PageParameters;

import com.edushare.common.constants.ApplicationConstants;

public class GroupCalendar extends GroupBase {

	public GroupCalendar(PageParameters params) {
		super(params);
		add(p = new CalendarPanel("calendarPanel", super.groupModel.getObject(),
				this));
	}

	@Override
	protected String getActivePage() {
		return "groupCalendar";
	}

	@Override
	public String getPageTitle() {
		return "Calendar | " + super.groupModel.getObject().getGroupName()
				+ " | " + p.getMonth() + " | " + ApplicationConstants.APPLICATION_NAME;
	}
	CalendarPanel p;
}
